/**
 * 
 */
package org.openwork.portlet.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.dispatcher.DefaultActionSupport;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.ServletResponseAware;

/**
 * @author samuelgmartinez
 *
 */
public abstract class BaseAction extends DefaultActionSupport 
			implements ServletRequestAware, ServletResponseAware {

	/** 
	 * 
	 */
	private static final long serialVersionUID = 8542695591359094692L;
	private HttpServletRequest request;
	private HttpServletResponse response;
	
	public HttpServletRequest getServletRequest() {
		return request;
	}
	public void setServletRequest(HttpServletRequest request) {
		this.request = request;
	}
	
	public HttpServletResponse getServletResponse() {
		return response;
	}
	public void setServletResponse(HttpServletResponse response) {
		this.response = response;
	}
}
